package com.example.springboot.modules.system.service;



import com.example.springboot.modules.system.mapper.SysUserMapper;
import com.example.springboot.modules.system.model.SysUser;
import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;



@Service
public class LoginService {
    @Autowired
    private SysUserMapper sysUserMapper;

    public SysUser toLogin(SysUser sysUser) {
        return sysUserMapper.selectOne(sysUser);
    }
}